package Lesson5;

/**
 * Created by trimmm on 10.02.15.
 */
public class Hero implements Healed{
    private int health;

    Hero(){
        this.health = 100;
    }
    Hero(int health){
        this.health = health;
    }

    public int GetHealth(){
        return health;
    }

    public void watchWords(){
        System.out.println("I am hero!!!");
        System.out.println("I rescue you!!!");
    }

    public void reduceHealth(int damagePoint){
        health -= damagePoint;
    }

    public void increaseHelth(int curePoint){
        health += curePoint;
    }
}
